<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/27
     * Time: 13:46
     */

    namespace app\api\validate;


    class ReceiverPlace extends BaseValidate
    {
        protected $rule = [

            'tip'                    => 'number',
            'account_has_voucher_id' => 'isPositiveInteger',
            'order_type'             => 'require|in:1,2',
            'harvest_address_id'     => 'require|isPositiveInteger',
            'pick_up_address_id'    => 'require|isPositiveInteger',
            'pick_up_goods_id'       => 'require|isPositiveInteger',
            'weight_id'              => 'require|isPositiveInteger',
        ];

    }